fix spell setting