Fixing format of text