added format stripping to url match