diff --git a/ReportToolz/repgen.php b/ReportToolz/repgen.php
index a2e3720..cc92ba9 100755
--- a/ReportToolz/repgen.php
+++ b/ReportToolz/repgen.php
@@ -165,7 +165,8 @@
 
     // set OWASP counts
     $issueOwasp = explode(":", $singlevuln['owasp']);
-    ${$issueOwasp[0]}++;
+    if($issueOwasp[0] !== "N/A")
+        ${$issueOwasp[0]}++;
 
     $hostSummary = (isset($singlevuln['hosts']) && $singlevuln['hosts'] <> "") ? $singlevuln['hosts'] : "N/A"; 
     // populate arrays for small vuln tables    
@@ -238,6 +239,8 @@
 foreach ($riskRatings as $riskKey => $riskVal) {
     if(!empty( ${"Summary_$riskVal"} )){
         foreach (${"Summary_$riskVal"} as $sumKey => $sumVal) {
+            if($sumVal[3] == "N/A")
+                break; // no N/A owasp table!
             if( ${$sumVal[3]."_table"} == ""){ // if is first entry
                 ${$sumVal[3]."_table"} = '
 <table:table table:name="Table8" table:style-name="Table8">