diff --git a/tools/bigwig_outlier_bed/bigwig_outlier_bed.py b/tools/bigwig_outlier_bed/bigwig_outlier_bed.py
index 052745bf86a..1c41eebdf6d 100644
--- a/tools/bigwig_outlier_bed/bigwig_outlier_bed.py
+++ b/tools/bigwig_outlier_bed/bigwig_outlier_bed.py
@@ -300,8 +300,8 @@ def makeBed(self):
t.write("\n")
some = False
if self.outbeds in ["outzero"]:
- self.writeBed(bedzero, self.bedoutzeo)
- some = True
+ self.writeBed(bedzero, self.bedoutzero)
+ some = True
if self.qlo:
if self.outbeds in ["outall", "outlo", "outlohi"]:
self.writeBed(bedlo, self.bedoutlo)
diff --git a/tools/bigwig_outlier_bed/bigwig_outlier_bed.xml b/tools/bigwig_outlier_bed/bigwig_outlier_bed.xml
index 209c3835a48..963429a1f86 100644
--- a/tools/bigwig_outlier_bed/bigwig_outlier_bed.xml
+++ b/tools/bigwig_outlier_bed/bigwig_outlier_bed.xml
@@ -162,8 +162,8 @@
-
-
+
+
diff --git a/tools/bigwig_outlier_bed/test-data/bedoutzero_sample b/tools/bigwig_outlier_bed/test-data/bedoutzero_sample
new file mode 100644
index 00000000000..523f316b17b
--- /dev/null
+++ b/tools/bigwig_outlier_bed/test-data/bedoutzero_sample
@@ -0,0 +1,2 @@
+Merlin 0 9 bigwig_sample_9 9
+Merlin 70049 180929 bigwig_sample_110880 110880