fixing up debug output
fixing up debug output