fix top bar caching