modify the bug of attack delay