redefine $module for safety