check item id is set