wip, possible fix for reload_templates