fix some bugs in sequeince index