Fixes to sharing URLs