fix bootstrap()