"Fix bug in the setting files about templates directory."