Fix index.ejs render template file