some fixes

a. fixed backup
b. fixed some warnings
c. fixed print qr backup for private
d. fixed problem with bad files