more debug info to track down issue #298