bug fix when < 5 cards were sent in