bug fix for the item type resource