fixed transform and flip card XML