Fix qr link
Fix destroy entity pattern