Fix processTitle based on itemtype