Fixed text format issues for arrays