[INTERNAL] debug output fixed