fixed issues with sideBar