small fix for sampler ~ eq. 15