reduceBuffer is updated, but not working