fix view index