fixing social api