         results = results as? [NSManagedObject]
 
 
-        if(results!.count > 0){
+        if(results?.count > 0){
             let managedObject = results![0]
             let dic:NSDictionary = object.toDictionary()
 

        }
        results = results as? [NSManagedObject]
        
        if(results!.count > 0){
            error == nil ? self._deserializeObject(results![0], callback: callback) : callback?(error,nil)
        }else{
            callback?(NSError(domain: "Not Found", code: 0, userInfo: nil),nil)

        results = results as? [NSManagedObject] ?? []
        

        if(results?.count > 0){
           
        let managedObject = results![0]

