fix an incomplete problem

this one was ugly.  Has been made to look better.