more strict moduleName type checking.'