fix error in version without mpi