sidebar bug fix