fix var type