clean up debug output