pmm bug fix