fixes type-o in debug()