fix indexing task