Fixing shared link behavior