Bootstrap and fix lib