mode should not return NA for imputation