Typo fix. Prevent printing nan in card