diff --git a/src/MST_OpenMPI.c b/src/MST_OpenMPI.c
index f360d64fece55b7d66a7715a87a4b5ad9583526d..4fb1a5df0c1fa9095dd0cb9a6b810fef8fd416a0 100644
--- a/src/MST_OpenMPI.c
+++ b/src/MST_OpenMPI.c
@@ -161,7 +161,6 @@ Graph *ReadArguments()
 
     int V, weight;
     scanf("%d", &V);
-    // V = 100;
     graph->V = V;
     graph->edge = (Edge *)(malloc(((V * V - V) / 2) * sizeof(Edge)));
 
@@ -326,11 +325,9 @@ int main()
         t = MPI_Wtime() - t;
         printResult(result, e);
         // printf("Waktu Eksekusi: %f ms \n", (t * 1000));
-    }
-
-    // For the process with rank > 0
-    else {
-        // Declare Edge Datatype
+        MPI_Abort(MPI_COMM_WORLD, EXIT_FAILURE);
+ 
+    } else {
         MPI_Datatype mpi_edge_type;
         makeStruct(&mpi_edge_type);
         
@@ -357,9 +354,10 @@ int main()
 
         // Send the sorted array back to the source process
         source = MPI_Send(temp, arrLength, mpi_edge_type, src, 1, MPI_COMM_WORLD);
+        // printf("Process %d\n", rank);
         free(temp);
     }
-
     MPI_Finalize();
+    
     return 0;
 }
\ No newline at end of file