Fixed a bug that text is not showing properly