build qrcode image once
clean magic numbers