fix url matching being too strict