fixed ContractIndex