fixed bug with social media plugins