fix isUpper typo