Fix the url match bug