expressionparser error checking