fixed the should bootstrap function