Fix missing synchronization bug