Counter-attack fix

if this actually fixes it I'll be mildly amused (I don't know what I'm
doing here).