fix a save password bug