fix index
fix issue with event.js