add calls to clear_syspref_cache()