removed isnan