fix var --- var bug