fixed fatal error: ejs block missed closing