Remove duplicated data from the new api route