bug in qr callback args