fix type and comment of variadic template sample