#1 incorrect typeof check