bug - 1

in create document method