Looks like a disconnect here.  I'm not sure how this output could possibly come from the code above as it's written.