fix bug pmx