Fixed desynchronization problem