fix view migration