action order changed write first delete last. close #79