fix viewMigration