fix lua bindings warnings