Fix potential sync error