fix restoring settings for philz-cwm - thx @firedrake