fix a bug while generating the documentation, the wrong module could be imported by function import_module