fixed config path in index.js