restore variadic gradient