modify cancel option when push files