fix mpi
removed a couple of unneeded barrier