fix sidebar issues