fix dependencies of sync_devices