finished the decoding packets