[fix] some small problems in sidebar