fixing text bugs