fix bootstrap cleanup