better error when a bad cube is requested