Fix messed up sync