fixed encounter bug on stage 12