add seq,fix some problem