fix attack method