fix provisioning errors