remove control toggle function