Renamed card.class_id to card.klass_id