prevent ugly crash when  rerunning the module