fix ppd in template