fix lua generator

and fix some common lisp generator