fix some text bugs and errors