Fixing two errors

Still going to crash you until the next Lua update