add input references to related messages while decoding