fixed a problem with how cards are picked