fix error in vars