change cmode