fix sidebar issue