fixes double hashes in share links