fixes to make share work with new integration profile