removed spell toggle function