fix the password bug