Fix string measurement.