bugfix: use module_name, not the global "module" variable