mpi loss fix