allow passing single value to Ops.index