cuboid fix