finish decoding fields