Added debug info to hunt down a bug.