minor changes to parser

minor changes to parser