Fix typo, rest instead of res.