diff --git a/extensions/photo_importer/dlg-photo-importer.c b/extensions/photo_importer/dlg-photo-importer.c
index 95c28e8..c363d71 100644
--- a/extensions/photo_importer/dlg-photo-importer.c
+++ b/extensions/photo_importer/dlg-photo-importer.c
@@ -374,6 +374,7 @@ update_source_list (DialogData *data)
 	GList    *mounts;
 	GList    *scan;
 
+printf ("update_source_list start\n");
 	gtk_list_store_clear (data->source_store);
 
 	mounts = g_volume_monitor_get_mounts (g_volume_monitor_get ());
@@ -381,16 +382,22 @@ update_source_list (DialogData *data)
 		GMount  *mount = scan->data;
 		GVolume *volume;
 
+printf ("mount: %s\n",g_mount_get_name(mount));
 		if (g_mount_is_shadowed (mount))
+{printf ("is shadowed\n");
 			continue;
-
+}
 		volume = g_mount_get_volume (mount);
+if (volume == NULL) printf ("volume is null\n");
+
 		if (volume != NULL) {
+printf ("volume: %s\n",g_volume_get_name(volume));
 			if (g_volume_can_mount (volume)) {
 				GtkTreeIter  iter;
 				GFile       *root;
 				GIcon       *icon;
 				char        *name;
+printf ("can mount\n");
 
 				gtk_list_store_append (data->source_store, &iter);
 
@@ -406,6 +413,7 @@ update_source_list (DialogData *data)
 						    SOURCE_LIST_COLUMN_NAME, name,
 						    -1);
 
+printf ("root %s vs source %s\n",g_file_get_uri(root),g_file_get_uri(data->source));
 				if (g_file_equal (data->source, root)) {
 					source_available = TRUE;
 					gtk_combo_box_set_active_iter (GTK_COMBO_BOX (data->source_list), &iter);
@@ -625,6 +633,11 @@ dlg_photo_importer (GthBrowser *browser,
 	int               i_general;
 	GthSubfolderType  subfolder_type;
 
+if (source==NULL)
+printf ("source is null\n");
+else
+printf ("source is not null\n");
+
 	if (gth_browser_get_dialog (browser, "photo_importer") != NULL) {
 		gtk_window_present (GTK_WINDOW (gth_browser_get_dialog (browser, "photo_importer")));
 		return;
