fixed parsing of sequence number