convert LOP and LISP to be actual lexical closures