Fixed text format issues