         }
         set {
             if let newValue = newValue {
-                self.object = newValue
+                self.object = NSNumber(value: Int(newValue))
             } else {
                 self.object =  NSNull()
             }

        set {
            _error = nil
            switch newValue {
            case let int8Value as Int8 where type(of: newValue) == Int8.self:
                _type = .number
                self.rawNumber = NSNumber(value: Int(int8Value))
            case let number as NSNumber:
                if number.isBool {
                    _type = .bool

            return self.numberValue.int8Value
        }
        set {
            self.object = NSNumber(value: Int(newValue))
        }
    }
    
