resolve the problem of synchronization