[INTERNAL] fixed some debug output