Minor error fix in parser