Fix swap views.