fix cancel action