fix for apple provisioning