Remove residual debug code