fixed wrong ivar