fixed text bugs