fix the host matcher