some fixes to sidebar