fix bug that pair is not cancellable