Fixed errors when user reset password on setting page.