why are you manually calling the afterattacks?