small bug fix of full factorial sampler