fixed debug as an int in parse.cc