refixed pm-templets