xml cards fix