get correct lines