Fix error in read next card