bug fixes related to set switches
this is usually going to be included in your app