make valid var type