added NaN test for fill