bugfix for mpi_aggregate.