repair bootstrap