fixing embedding for sharepoint