various hacks to get ef working with cards.