correction for missing values