fix document and import