more changes about bootstrap codes