clean up debug outputs