got the preferences to work consistantly