make sure req.params exists first
release 0.1.21