Fix agrv index