Fix a very strange error with module.exports