top-bar error fix