repair flat ui