fixed sidebar error