fix MPI types to avoid warnings