add vt mode switching