add bootstrap to build to fix circularly dependencies