isnan check

isnan check