Spell casting fix