fixed bootstrap switch error