fix duplicate indexing of field