Improve text format and correct errors.