Fixes result.ejs and everything works smoothly