Fixed a bug with text