made dimvar to variable again