a minor fix in the seqeunce search