Fix device syncing.