import_document:fix compiling