parse url params inside routes