Fixed small error in parser implementation