better spell handling