fixed passing modules as single strings to require()