fixed pdf viewer provisioning.