var -> rpn + invalid var validation