fix cubes mode