add a spec for dash#index
fix dash
oops