fixed logic statements for social media links