fees2: fixes for migrations.