Fixed giveCard
Removed Error_log