fix "bug

Encounter class" bug