tiny fix in index.js