correct var error