         println(ConversationOperationQueue.sharedManager.oprationQueue)
         
         if !ConversationOperationQueue.sharedManager.lock {
-            
-            ConversationOperationQueue.sharedManager.lock = true
-            
+            println("Begin opration")
             if ConversationOperationQueue.sharedManager.oprationQueue.count > 0 {
+                
+                ConversationOperationQueue.sharedManager.lock = true
                 
                 let operation = ConversationOperationQueue.sharedManager.oprationQueue[0]
                 

                case MessageStateOperationType.Read.rawValue:
                    println("Message Read")
                    removeReadStates()
                    updateMessageStateWithMessageID(operation.messageID)
                    ConversationOperationQueue.sharedManager.oprationQueue.removeAtIndex(0)
                    
                    ConversationOperationQueue.sharedManager.lock = false
                    
                    if ConversationOperationQueue.sharedManager.oprationQueue.count > 0 {
                        self.updateMessagesStates()
                    }
                    

                    break
                }
            }
        } else {
            println("Skip lock")
        }
    }
    
