small fixes; working MPI