fix some cancel commands