Is any part of that gouge proud? If it's lifted about the surface than that will not let it seal properly. You might have to try and file it down slightly, and then maybe fill in the gouge with JB weld and sand it flush.
Hard to do on the trans unfortunately. Might have to pull the extension housing to repair it or replace it.