fixes mostly having to do with missing values