small sidebar bug fix