fixing bugs with share-buttons