removed some CubeEngine.getCore() calls