fix(dispatch) should call e.Index()
Merge pull request #393 from xiangli-cmu/fix_index

fix(dispatch) should call e.Index()