fixing index.js export