add proper prefix to template setting