some fixes to the sidebar and CSP SSP