fix var types