Fixed issue with reading routeParams from options