perform LF normalization