fix line end