fixed some mpi errors, and created others :S