Fix the saving bugs for GUI.