diff --git a/pom.xml b/pom.xml
index 965548f315877f1782d05cd21445c8d65c849f1b..72391f4a08388ac519fbe5f465ff4a5a4ce90f0e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -8,7 +8,7 @@
    </parent>
    <groupId>fr.soleil.device</groupId>
    <artifactId>ContinuousAO-${aol}-${mode}</artifactId>
-   <version>1.0.1</version>
+   <version>1.0.2</version>
    <packaging>nar</packaging>
    <name>ContinuousAO</name>
    <description>ContinuousAO device</description>
@@ -75,4 +75,4 @@
            <timezone>1</timezone>
        </developer>
    </developers>
-</project>
+</project>
\ No newline at end of file
diff --git a/src/main.cpp b/src/main.cpp
index 200bbcaddde8e323abff873722a2da09541bd7fd..12ef0342b3ede3f81425f853c35e6a257bbde0e7 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1,4 +1,4 @@
-static const char *RcsId = "$Header: /users/chaize/newsvn/cvsroot/InputOutput/ADLINK/ContinuousAO/src/main.cpp,v 1.3 2010-03-10 16:25:54 vince_soleil Exp $";
+static const char *RcsId = "$Header: /users/chaize/newsvn/cvsroot/InputOutput/ADLINK/ContinuousAO/src/main.cpp,v 1.4 2010-10-06 20:27:45 vince_soleil Exp $";
 //+=============================================================================
 //
 // file :        main.cpp
@@ -12,9 +12,12 @@ static const char *RcsId = "$Header: /users/chaize/newsvn/cvsroot/InputOutput/AD
 //
 // $Author: vince_soleil $
 //
-// $Revision: 1.3 $ $
+// $Revision: 1.4 $ $
 //
 // $Log: not supported by cvs2svn $
+// Revision 1.3  2010/03/10 16:25:54  vince_soleil
+// fix Tango7 migration
+//
 // Revision 1.2  2005/02/09 08:47:43  abeilleg
 // changes to compil with gcc.
 //
@@ -36,11 +39,21 @@ static const char *RcsId = "$Header: /users/chaize/newsvn/cvsroot/InputOutput/AD
 #include <tango.h>
 #include <ace/ACE.h>
 
+#if defined(ENABLE_CRASH_REPORT)
+# include <crashreporting/crash_report.h>
+#else
+# define DECLARE_CRASH_HANDLER
+# define INSTALL_CRASH_HANDLER
+#endif
+
+DECLARE_CRASH_HANDLER;
 
-int main(int argc,char *argv[])
+int main(int argc, char *argv[])
 {
+  INSTALL_CRASH_HANDLER;
+
 
-	Tango::Util *tg;
+	Tango::Util *tg = 0;
 	try
 	{
 		// Initialise the device server