fixes #47 by comparing text to text instead of of index to text