settings fixes for template