trying to avoid app.locals.content = undefined