fixed issue with index.js pointing to the wrong file