clean debug code.