Restored the whole structure of dictionary


I reinstalled my OS and picked a different username.
When I restored my ~/Videos snapshot, I got this:
(while AAA is my old username, BBB is the present one.)
how to got this structure:

This is my command which is used to restore:
restic -r ./backup restore xxxxxxx --target ~/Videos

Other info:
restoring <Snapshot xxxxx of [/home/AAA/Videos] at long long ago by AAA@AAA-OS> to /home/BBB/Videos


The simplest thing to do would be to restore to another directory, then move the files.

mkdir ~/tmp
restic -r ./backup restore xxxxxxx --target ~/tmp
mv ~/tmp/home/BBB/Videos ~