         hullApi = core.data.hullApi
 
         core.data.api = (args...)->
-          hullApi.api( args...).then (res, headers={})->
+          dfd = hullApi.api( args...)
+          dfd.then (res, headers={})->
             if headers?
               hullTrack = headers['Hull-Track']
               if hullTrack

                  console.warn 'Error', error
              if headers['Hull-Auth-Scope']
                authScope = headers['Hull-Auth-Scope'].split(':')[0]

        #
        #
        # Models/Collection related

          core.data.api("me/identities/#{provider}", 'delete').then ->
            app.sandbox.data.api.model('me').fetch().then callback

        # FIXME Does it double with l.247-249?
        for m in ['me', 'app', 'org', 'entity']
          attrs = data[m]
          if attrs
