diff --git a/src/USER-DPD/fix_rx.cpp b/src/USER-DPD/fix_rx.cpp
index c370f8abe6ebe0fb35fae63730a909ae44dcf335..be78989bb5a81de1f686b10afd59d9989a9375dd 100644
--- a/src/USER-DPD/fix_rx.cpp
+++ b/src/USER-DPD/fix_rx.cpp
@@ -361,9 +361,9 @@ void FixRX::post_constructor()
   for(int ii=0; ii<nspecies; ii++){
     strcpy(str1,"d_");
     strcpy(str2,"d_");
-    strncat(str1,tmpspecies[ii],strlen(tmpspecies[ii]));
-    strncat(str2,tmpspecies[ii],strlen(tmpspecies[ii]));
-    strncat(str2,"Old",3);
+    strcat(str1,tmpspecies[ii]);
+    strcat(str2,tmpspecies[ii]);
+    strcat(str2,"Old");
     newarg[ii+3] = new char[strlen(str1)+1];
     newarg2[ii+3] = new char[strlen(str2)+1];
     strcpy(newarg[ii+3],str1);