clean up debug messages