Fix typeof

modify "wether" to "whether"