Spec cube bug fix