fixed an error in LineScanner:seekNewLine