text formatting improvement