fix the spec tests