Fix for missing preferences file