fixes for switches, Background,