fix initial provisioning