isObject bugfix