allow null as module name for anonymous modules