fix voxel bug

Fixes my dumb mistake.