syntax error in pw reset