fixed for swapping spells not saving.