bugfix with MPI