clean up debug utilities