fixed some encounter pmd flags