bootstrap switch error fixed