Realize equal order in reading and writing

and remove items array