fix #384: pm's preference setting