fixing deprecated module_path usage