shrink new migrations, fix some styles and bugs