move flagErrvar