Fix template config file