add a opts param, pass to path-to-regexp