fix showCancel option