Fixes duplicated items