             
             let property = parse(property: property)
             
-            finalProperties[property] = value
+            if let parsed = parse(value: value) {
+                finalProperties[property] = parsed
+            }
         }
         
         return finalProperties

            return property
        }
    }
}

    
    public func set(properties: Properties) {
        
        let properties = prepare(properties: properties)!
        
        for (property, value) in properties {
            if let value = value as? String {
                Analytics.setUserProperty(value, forName: property)
            }
            else {
                Analytics.setUserProperty(String(describing: value), forName: property)
            }
            
        }
        
    }
