fixing another topbar bug