Fixed first attack bug