Fixed bug with the social link generation