fixed correct debug output