fixed index.js route