captian attack bug fix