diff --git a/camel/camel-folder-summary.c b/camel/camel-folder-summary.c
index 6fecd6a..049da52 100644
--- a/camel/camel-folder-summary.c
+++ b/camel/camel-folder-summary.c
@@ -3245,6 +3245,8 @@ message_info_to_db (CamelFolderSummary *s, CamelMessageInfo *info)
 	CamelTag *tag;
 	int count, i;
 
+	printf ("%s: mi:%p\n", __FUNCTION__, mi); fflush (stdout);
+
 	/* Assume that we dont have to take care of DB Safeness. It will be done while doing the DB transaction */
 	record->uid = (char *) camel_pstring_strdup(camel_message_info_uid(mi));
 	record->flags = mi->flags;
@@ -3372,7 +3374,8 @@ static void
 message_info_free(CamelFolderSummary *s, CamelMessageInfo *info)
 {
 	CamelMessageInfoBase *mi = (CamelMessageInfoBase *)info;
-	
+
+	printf ("%s: mi:%p loaded:%p\n", __FUNCTION__, mi, s && s->loaded_infos && mi->uid ? g_hash_table_lookup (s->loaded_infos, mi->uid) : NULL); fflush (stdout);
 	if (mi->uid) {
 		g_hash_table_remove (s->loaded_infos, mi->uid);
 		camel_pstring_free(mi->uid);
diff --git a/camel/camel-vee-summary.c b/camel/camel-vee-summary.c
index 5a02fb3..b772017 100644
--- a/camel/camel-vee-summary.c
+++ b/camel/camel-vee-summary.c
@@ -340,8 +340,10 @@ message_info_from_uid (CamelFolderSummary *s, const char *uid)
 
 	info = g_hash_table_lookup (s->loaded_infos, uid);
 
-	if (info)
+	if (info) {
 		info->refcount++;
+		printf ("vee-%s: loaded mi:%p\n", __FUNCTION__, info); fflush (stdout);
+	}
 
 	CAMEL_SUMMARY_UNLOCK(s, ref_lock);
 	CAMEL_SUMMARY_UNLOCK(s, summary_lock);
@@ -490,6 +492,7 @@ camel_vee_summary_add(CamelVeeSummary *s, CamelFolderSummary *summary, const cha
 	CAMEL_SUMMARY_UNLOCK(s, summary_lock);
 
 	if (mi) {
+		printf ("%s: mi:%p\n", __FUNCTION__, mi); fflush (stdout);
 		/* Possible that the entry is loaded, see if it has the summary */
 		d(g_message ("%s - already there\n", vuid));
 		g_free (vuid);
