Fix spec bug