fixed #1265, return module.exports

fix #1265