fix inheritance ivar usage