Fixed module.export bug
Removed unnecessary variable