Remove duplicates, doesn't work if theres more than 2