fix indexing for projects