fix card loading