Fix : potential bug when we sync and when we modify elements at the same time