correct template config