Fix URL matching