fixed debug output statement