extraneous debug code removal