fixed var problem