Attempt to fix QR not clearing successfully