adapt coupling for numexpr & code gen