patching parse_route