correct formatting of text