made isObject(null) == false