line normalization