Text corrections and formatting