fixing waterfall gradient thing