cleaning up debug messages