Made some fixes on index ejs