modify check policy in send_by_ctx