improve givebadge