fixed indexType definition