typo in index.js