Fixed bug in start QR