moved ve_idx to idx

For review by @elliottbiondo