fix bug with no module.exports