Fix el is null issue with QR