fix the spec test