You needed one of those new wedge shaped gaskets, intended specifically for this type of situation. They can be used on Transmission side cases, fuel pumps, and ill fitting distributors., and leaking FE valve covers

or you can alternately fill the offending gap with silicone.