fix sidebar problem