fixed some issues in process_conversations