 
     __welcome: ->
       @addTab('welcome')
-      @__addFakeTab tabName for tabName in @settings.tabs
+      for tabName in @settings.tabs
+        @__addFakeTab tabName
       @switchTab('welcome')

      @content.replaceWith(@placeholder)

    addTab: (name) ->
      {tabs} = uploadcare.widget

      if name of @tabs
        return

      TabCls = switch name
        when 'file' then tabs.FileTab
        when 'url' then tabs.UrlTab
        when 'facebook' then tabs.RemoteTabFor 'facebook'
        when 'dropbox' then tabs.RemoteTabFor 'dropbox'
        when 'gdrive' then tabs.RemoteTabFor 'gdrive'
        when 'instagram' then tabs.RemoteTabFor 'instagram'
        when 'vk' then tabs.RemoteTabFor 'vk'
        when 'evernote' then tabs.RemoteTabFor 'evernote'
        when 'box' then tabs.RemoteTabFor 'box'
        when 'skydrive' then tabs.RemoteTabFor 'skydrive'
        when 'preview' then (if @settings.multiple then tabs.PreviewTabMultiple else tabs.PreviewTab)
        when 'welcome' then tabs.StaticTabWith 'welcome'

      if not TabCls
        throw new Error("No such tab: #{name}")

  utils,
  locale: {t},
  templates: {tpl},
  ui: {progress: {Circle}},
  files,
  widget: {tabs},
  settings: s,
  jQuery: $
} = uploadcare
