removed some dom structure out of cards