fixed bug in get_seqinfo