corrected another fucking bug in index.js