fixed UI bug in topbar