fixed request dependency on the URL matcher

Alternative fix for #662