fix crash on creation of session link for sharing