 
     @reset()
     @fetchStorage (storage)->
-      callback  if storage[group]?[key] then storage[group][key]
+      callback  if storage?[group]?[key] then storage[group][key]
     , force
 
   getValue: (key, group = 'bucket')->

    @_storageData[group][key] = value

    @fetchStorage (storage)->
      storage.update {
        $set: pack
      }, -> callback?()


    return storage

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