fix for bootstrapping