fixing  vars