clean up debug info