fix the bug that enter wrong passwrod, do nothing