refine the LF,CR