Fixed a parser error with an errorinput