corrected last card in deck bug