Fix: sampler for v5.