Fix legacy sidebar