fix for the warning with strata variables