Fix IDL subcontext