develop spell category correctly