diff --git a/modules/urqmd/urqmd.f b/modules/urqmd/urqmd.f
index b9951571ebedbad6d6c30f9833f2e4fbe1f5e5c7..32a85ef53c09129e950da892bbf5119cde57b080 100644
--- a/modules/urqmd/urqmd.f
+++ b/modules/urqmd/urqmd.f
@@ -339,8 +339,8 @@ c~              stop
            endif
            if (noc.ge.50000) then
              print *,'UrQMD terminating...'
-             call exit(2) ! think of a better way to hand over the error
-                          ! to C++
+             call exit(333) ! think of a better way to hand over the error
+                            ! to C++
            endif
            goto 1
          endif