   # @param [Object] value
   set: (key, value, def=undefined) ->
     throw 'key missing' unless key?
-    @storage["#{Persist.PREFIX}#{key}"] = value
+    @storage["#{Persist.PREFIX}.#{key}"] = value
     @default(key, def) if def?
 
   # set the default value for a key

  clear: (exceptions=[], withDefaults=false) ->
    exceptions = [exceptions] unless exceptions instanceof Array
    for storage of @storage
      continue if storage.endsWith(Persist.DEFAULT_SUFFIX) and withDefaults == false
      if !exceptions.includes(storage)
        @rm(storage)


#   persist.default('hello', 'world')
#   persist.get('hello') # returns world
class Persist
  @PREFIX = 'ce'
  @DEFAULT_SUFFIX = 'default'

  # chooses storage type. By default, it uses localStorage
  #
