implement req.params
prefix path trimming