made demux not break on missing key, and removed some excessive logging from count