Some corrections for the template configuration