fixed cube getter bug in last changes