fixed UBItem::delete_by_id method