debug code removal