fix cube example