few changes in events.ejs