Bugfix reduce.