[DF-3246] fixed unneeded item adding to the map.