fixed path to preferences