change function call in giveaway tpl.