Correct errorhandling in setting card via string.