fix decoding partial tuples