Default qr code based on epoch
Fix qr code to reference correct attribute