fix some provisioning issues