cleanup debug messages