improve spec partially