fix db
fix log bootstrap