fix Lua support