Dreaded lid leak on new master cylinder...ideas?

Some don't weep, they leak. The cylinder is cast and a very porous metal. Shitty fit for sure. Take it off. Sand it down to a nice flat surface and it won't leak. Or buy one with screw on lids.