cleaned some url matching.