bug fixed on changeMode. (IE11)