corrected retruns in Parser.cpp