fixed preservation of Binder and Document between reading and writing