Fix donation function