fixed small issue in parser