fixed adding of cards