before finalizing bootstrap