cleaning up debug output