diff --git a/plugins/howto b/plugins/howto
index b0ab6141ec0907daf331fc5bd63b11155a8e6c09..5d3cfae67b0be5e9289a545bfb1bcd8587ad1909 100644
--- a/plugins/howto
+++ b/plugins/howto
@@ -4,7 +4,9 @@ $cd testPluginCodeGeneration
 $make
 
 Then, edit the configuration file of TTool (default: TTool/bin/config.xml) and add:
-<PLUGIN_JAVA_CODE_GENERATOR data="../plugins/CustomizerAvatarCodeGeneration.jar" />
+<PLUGIN_PATH data="../plugins" />
+<PLUGIN file="CustomizerAvatarJavaCodeGeneration.jar" package = "."/>
+PLUGIN file="CustomizerGraphicalComponent.jar" package="."/>
 
 Then, start TTool, and generate Java code from an avatar design model.
 
@@ -14,7 +16,7 @@ Then, start TTool, and generate Java code from an avatar design model.
 
 2) Add the plugin reference in config.xml
 For example:
-<PLUGIN_JAVA_CODE_GENERATOR data="../plugins/CustomizerAvatarCodeGeneration.jar" />
+<PLUGIN file data="../plugins/CustomizerAvatarCodeGeneration.jar" />
 
 3) Load the configuration information in ConfigurationTTool.java
 
diff --git a/src/main/java/ui/window/JDialogCCodeGeneration.java b/src/main/java/ui/window/JDialogCCodeGeneration.java
index 85cf2be607227f5836ff45415eefb45656e55050..6bd1a75aff6bc4b244a9bfe35af114b4f00c1911 100755
--- a/src/main/java/ui/window/JDialogCCodeGeneration.java
+++ b/src/main/java/ui/window/JDialogCCodeGeneration.java
@@ -346,8 +346,11 @@ public class JDialogCCodeGeneration extends JDialog implements ActionListener, R
     //    }
 
     public void stopProcess() {
+	
         try {
-            rshc.stopCommand();
+	    if (rshc != null) {
+		rshc.stopCommand();
+	    }
         } catch (LauncherException le) {
 
         }