replace $match->{url} with $match->{value} which is used in handlers