cleaned up debug output