fix a LF bug