* fix a bug for check password.