fixed debug output