Ensure variable_prefex is set either according to env or to empty