Fix pw reset error