prevent cards from sometimes not showing up