working correct with mpi write buffer