Potential preference file bug fixed.