fix the spec for verify peer