remove currentEndLine.