fix card creation to only add id to child array not whole card