Made sure that the variables that are used in templates in clean install are defined and/or not empty.