rid metadata of all duplicates

let me know if I missed any