fix ActiveSpell.java bugs