BUGFIX: a typo in the variable name card_status triggered some error messages.