fix the bug that can not reset the same password