Revert "fixed bug on aggregator"

This reverts commit f8519322fd7721e74dd92b063a257c07dd9eee56.