fixed failure when no report format is specified