tone down logging
more robust decoding logic