   startCollaborationSession: ->
 
     switch @stateMachine.state
-      when 'PreCreated' then @stateMachine.transition 'Creating'
+      when 'Prepared' then @stateMachine.transition 'Creating'
 
 
   onCollaborationCreating: ->

        .then =>
          @workspaceData.channelId = channel.id
          @chat.ready =>
            @stateMachine.transition 'PreCreated'
        .error (err) =>
          # @stateMachine.transition 'ErrorCreating'


  onCollaborationPreCreated: ->

    @chat.emit 'CollaborationNotInitialized'


        Loading      : => kd.utils.defer => @onCollaborationLoading()
        Resuming     : @bound 'onCollaborationResuming'
        NotStarted   : @bound 'onCollaborationNotStarted'
        Prepared     : @bound 'onCollaborationPrepared'
        Creating     : @bound 'onCollaborationCreating'
        Active       : @bound 'onCollaborationActive'
        Ending       : @bound 'onCollaborationEnding'
