fixed var error