error in the debug code but didn't fix program bug