fix text bugs