replaced setting datetimeended by re-using finishImportPart