fixed side bar bug