working
bug fix write and remove seq_list