changes for flat ui.