respond to battle_error