fixes bug, where no req.params exists