fixed import of _document_next_series