Index: src/hg/lib/wiggleCart.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/lib/wiggleCart.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -b -B -U 4 -r1.21 -r1.22
--- src/hg/lib/wiggleCart.c	4 Sep 2009 23:42:38 -0000	1.21
+++ src/hg/lib/wiggleCart.c	18 Sep 2009 20:05:10 -0000	1.22
@@ -467,12 +467,16 @@
     struct trackDb *tdb, char *name,char **optString)
 {
 boolean compositeLevel = isNameAtCompositeLevel(tdb,name);
 char *alwaysZero;
-enum wiggleAlwaysZeroEnum ret = 1;
+enum wiggleAlwaysZeroEnum ret = wiggleAlwaysZeroOff;
+char * tdbDefault = trackDbSettingClosestToHome(tdb, ALWAYSZERO);
 
 alwaysZero = cloneString(cartOptionalStringClosestToHome(theCart, tdb, compositeLevel, ALWAYSZERO));
 
+if ((alwaysZero == NULL) && (tdbDefault != NULL))
+    alwaysZero = cloneString(tdbDefault);
+
 if (optString && alwaysZero)
     *optString = cloneString(alwaysZero);
 
 if (alwaysZero)

