Fix the application template.