clean up module options, module running