fix module_name and gen_path