Bug fixing on the side-bar