fixed sidebar problems