Fix profile links to diary, topic