Fixed copy-paste error in text.py