fixing issues in sharing buttons