refactor bootstrap and c11n relationship