fix unable to save password