fix error in variables