prepare cuboid fixed

minor problem when running cuboid analysis in one class