clean debug codes