fix url matching