fix scaffold
fix without flat-ui
fix template Flat_UI
fix heroku deploy