fix bootstrap bug