diff --git a/include/PathOrderOptimizer.h b/include/PathOrderOptimizer.h
index 2d339e79f8..a401d4c0fd 100644
--- a/include/PathOrderOptimizer.h
+++ b/include/PathOrderOptimizer.h
@@ -747,7 +747,7 @@ class PathOrderOptimizer
         }
         else
         {
-            if (path.seam_config_.type_ == EZSeamType::SHORTEST)
+            if (path.seam_config_.type_ == EZSeamType::SHORTEST || path.seam_config_.type_ == EZSeamType::USER_SPECIFIED)
             {
                 main_criterion.criterion = std::make_shared<DistanceScoringCriterion>(points, target_pos);
             }