typos when splitting index.js