flatten bootstrap