matches.ejs finalization