get rid of make_ld_context