fix for categorical missing values