Check for itemid first