fix var mistake