fix PMEM