patch from Patrick Strasser to fix grc prefs issue