fixed assigning spells