more logging for the duplicate-id bug