rename record req_ctx to frame_ctx, fix typo