fixed some sidebar errors