fixed ivar being released by arc too early