fixed GUI preference not loading issue