fixed bug in epoch path sampler