sanitizing Nans