prep for TEMPLATE_FLAVOR