clean debug messages.