Fixed IAE crash