fixed HardCodeModuleFactory.cc