Fix encoding rules
fix meta-where error