Fix migrate.