Fixed a bug who prevent from canceling multiple times