fixing template and properties files