added back interpolation of nans