removing compile warnings, advancing the decoder