rename variable reply_context to reply_ctx