- fixed memory damage and crash because incorrectly called lua_remove