add variable to enable/disable the cancel mark command