fixed css setting bug

Fixed css setting bug in waterfall function