fixed load_card bug