why not use "title = req.query.query" ?