minor fixes on provisioning