debug output correction