fix view ordering