ejs data for error match the view expectation