Fixed error when list cards.