fix rfc compilation

trim body and fix rfc generation