fix company indices