fix the spec error