fixed the configtemplate and ptable key issue
fixed the configtemplate and ptable key issue