diff --git a/src/sbbs3/scfg/scfgmsg.c b/src/sbbs3/scfg/scfgmsg.c
index 926e080c82b6ba51b750de3e51e421ca473e605e..056cf210f010e57af051381bd4abbc43da4d4808 100644
--- a/src/sbbs3/scfg/scfgmsg.c
+++ b/src/sbbs3/scfg/scfgmsg.c
@@ -6,7 +6,7 @@
  * @format.tab-size 4		(Plain Text/Source Code File Header)			*
  * @format.use-tabs true	(see http://www.synchro.net/ptsc_hdr.html)		*
  *																			*
- * Copyright 2011 Rob Swindell - http://www.synchro.net/copyright.html		*
+ * Copyright Rob Swindell - http://www.synchro.net/copyright.html			*
  *																			*
  * This program is free software; you can redistribute it and/or			*
  * modify it under the terms of the GNU General Public License				*
@@ -694,6 +694,7 @@ while(1) {
 						if(!stricmp(cfg.sub[u]->code_suffix,tmpsub.code_suffix))
 							break; 
 					}
+					j=u;
 					if(j==total_subs) {
 						j=cfg.total_subs;
 						if((cfg.sub=(sub_t **)realloc(cfg.sub