fix the missing param bug in waterfall