fix error of canceling payment