patch for sidebar