spec bug fix