fixed sidebar bugfix