solve password save issue