diff --git a/sflphone-client-gnome/src/config/audioconf.c b/sflphone-client-gnome/src/config/audioconf.c
index 8d3a55c7d40bee20bc371fad3fb88aa2c3dc340d..308131207f5c401c8753ec6701c0915edf651c7a 100644
--- a/sflphone-client-gnome/src/config/audioconf.c
+++ b/sflphone-client-gnome/src/config/audioconf.c
@@ -770,9 +770,14 @@ GtkWidget* noise_box()
 
 static void record_path_changed( GtkFileChooser *chooser , GtkLabel *label UNUSED)
 {
+    DEBUG("record_path_changed");
+
     gchar* path;
-    path = gtk_file_chooser_get_uri( GTK_FILE_CHOOSER( chooser ));
-    path = g_strndup (path + 7, strlen(path) - 7);
+    // path = gtk_file_chooser_get_uri( GTK_FILE_CHOOSER( chooser ));
+    // DEBUG("path1 %s", path);
+    path = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER( chooser ));
+    DEBUG("path2 %s", path);
+    // path = g_strndup (path + 6, strlen(path) - 6);
     dbus_set_record_path( path );
 }
 
@@ -853,9 +858,9 @@ GtkWidget* create_audio_configuration()
     GtkWidget *folderChooser;
     gchar *dftPath;
     
-        /* Get the path where to save audio files */
-    dftPath = dbus_get_record_path ();/* Get the path where to save audio files */
+    /* Get the path where to save audio files */
     dftPath = dbus_get_record_path ();
+    DEBUG("load recording path %s\n", dftPath);
     
     gnome_main_section_new_with_table (_("Recordings"), &frame, &table, 1, 2);
     gtk_box_pack_start(GTK_BOX(ret), frame, FALSE, FALSE, 0);
diff --git a/sflphone-common/src/sip/sipvoiplink.cpp b/sflphone-common/src/sip/sipvoiplink.cpp
index 0a7a9fe29c695af9039ab61b68c6c90e23bd8060..d33a0bbf1043e72ba98262643864ef6189f2e04e 100644
--- a/sflphone-common/src/sip/sipvoiplink.cpp
+++ b/sflphone-common/src/sip/sipvoiplink.cpp
@@ -2436,7 +2436,6 @@ void SIPVoIPLink::busy_sleep (unsigned msec)
     pj_time_val_normalize (&tv);
 
     do {
-      _debug("tourne en rond\n");
         pjsip_endpt_handle_events (_endpt, &tv);
         pj_gettimeofday (&now);
     } while (PJ_TIME_VAL_LT (now, timeout));