Remove duplicate data from api