fix PM match string