template_settings.php
some fixes