don't create more than one new document when creating new doc