runtime error fix
enable disable segmented control