bugfix in logging failed cards