fixed buf with MPI debugging