fix bootstrap error