fix lua bindings