text format fixes