fix bug in scrubber