another freaking flat ui bug fix