Fixed bug in Text.