Fix bug in the URL catcher