fixed another bug with item.text()