Fixed smaller LUA errors