synchronization bug fix