 
   @create$ = secure (client, data, callback) ->
 
-    {delegate}    = client.connection
+    { delegate }    = client.connection
     data.originId = delegate._id
 
     @create client, data, callback


  @create = secure (client, data, callback) ->

    {delegate}     = client.connection
    data.originId ?= delegate._id

    nickname  = delegate.profile.nickname
    data.slug = slugify data.name?.toLowerCase()

    {name, slug, machineUId, rootPath, originId, machineLabel} = data

    # we don't support saving layout for now, i will set it to empty object
    # to prevent storing any kind of data in it. -- acetz!

      return callback err  if err
      return callback 'Machine not found'  unless machine

      { nickname } = client.connection.delegate.profile
      rootPath   = '/'  if machine.provider is 'managed'
      selector   = { machineUId, slug: 'my-workspace' }

      @one selector, (err, workspace) =>

