removed unnecessary code from sidebar second