Fixed cube bug