fix bootstrap script