fix fail gracefully on namedcmd parsing error