add isObject,fixed stupid bug