Fixed warning in SpellHandler