fixed error in the layout.ejs file