fix bug for unknown command syntax exception