updated -module() in wdgm_main