fixed attack speed checking