added debug as and int in parse.cc