Fix isNaN typo

Fix isNaN typo