add support for document creation fix