Fix visibl template variables on load