bug fix to Dict2d3dSampler