     @_storageData[group][key] = value
 
     @fetchStorage (storage)->
-      storage.update {
+      storage?.update {
         $set: pack
       }, -> callback?()
 


    @reset()
    @fetchStorage (storage)->
      callback  if storage[group]?[key] then storage[group][key]
    , force

  getValue: (key, group = 'bucket')->

    return storage

# Let people can use AppStorage
KD.classes.AppStorage = AppStorage
