bugfix: removed use of the module() function to prevent bad side-effects.

removed use of the module() function to prevent bad side-effects.