cleanup of debug messages.