Fixed logic_lua