remove wrong error message logging in pref observer code