fixed some MPI Stuff