Closing Holes

Okay so I am making longies (basically wool pants for babies. Now after I join the crotch (middle four stitches in the front and middle four stitches in the back. joined with a kitchner) Then I knit the legs but there is a hole between the legs and crotch. What is the best way to patch that up this time? and possibly avoid it next time?