req.query.lang.trim is not a function