fixed little bug of sidebar