removing duplicates in the results