fix bug with item id search