fixed loading private from qr