reverted head. fixed cvIsNaN case issue