fix PatchSetViewer being disabled