journal cleanup: get rid of duplicates