modify canceling