fixed function name getQRcode