moved sync-busy/sync-done events to the right place