fixes for the duplicate items.