fix docline bug