fixed bug: validate_ractive was being called before opts$template_config was populated