improved delete items, minor fixes