fix bug in copy_doc, bump version