add owner for Card; fix log function