1.delete write function from bundle reader.
2.unsigned int -> size_t.