Fixed a ivars bug