fix 3d periodic streaming