extra debug output and fix for final canidate consolidation step