Illustrator Compound Paths

Question about compound path’s!

So I’ve created a logo.
I want to use the compound path so that the inside is the same color as the background I’m placing it on.

When I create a compound path… if I extend the K to get a clean line… the compound path invert’s it after the square (see attached … the one on the right side)

If I try to bump it up to the square perfectly… it still leaves a 1pt line going right down the square.

I’ve always had this issue and never know how to fix it. Ideas?