fix encounters.