fix sidebar and banner bugs

fix sidebar and banner bugs