use database from LuaEventHandler