remove redundant lf