fix req, res params