try controle object set mode function out