compat with lua-5.3.0-beta