fix top bar style problem