fix req.query.redirect connect.query() depend

fix req.query.redirect connect.query() depend