minor qr fixes