replaces semas by dev->items
replaced 2